//
//  ProductsCell.m
//  彩票项目
//
//  Created by 伍银荣 on 2021/8/10.
//  Copyright © 2021 com.WYR. All rights reserved.
//

#import "ProductsCell.h"
#import "ProductsModel.h"

@interface ProductsCell ()
@property (strong, nonatomic) IBOutlet UIImageView *imgView;
@property (strong, nonatomic) IBOutlet UILabel *titleLabel;

@end

@implementation ProductsCell

-(void)setModel:(ProductsModel *)model {
    _model = model;
    self.imgView.image = [UIImage imageNamed:model.icon];
    self.titleLabel.text = model.title;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
